[Introduction]---------

hello all.

This is a set of simple little programs included in this package. They all have a simple and basic function and should perform them quite well.

Their are 2 main programs, they are Clear.jar and shutdown.jar.

Clear.jar is a short program that will empty the system clipboard compleatly, it is will suscfully empty it untill a test for clipboard items comes up empty, so this is ensured to ALWAYS empty the clipboard every time. It uses a few dialog boxes to output any messages, which include if the clipboard is already empty or to tell you when it has been emptied. 


shutdown.jar is a more complex program, this will ask the user for a password, every incorrect password OR the timmer running out will use a try. Their is a set number of trys that can be used, after all trys have been used then it will shutdown the computer to stop it from being used. This also has the function to empty the clipboard every set amount of time, to try and stop the unwelcomed user from useing the copy, cut or paste functions.

It will recognise 2 passwords, one will disable the timmer and exit the program, the other will allow you to add more time to the counter. Both of these passwords and all other settings are stored inside history.csv. If this file is missing then it will revery back to defult values.

This NEEDS the Encoder.csv to work, without this it cant encode your password to check agenst the encoded password. Feel free to edit the encoder, BUT if your settings file wont load then you cannot run the defult passwords to exit the program if you have changed the encoder. The process of encoding is nesacary as to stop people from just finding the password in a file and typeing it in.


settings.jar is another program that you can run to set the settings file up, if it is lost or if you want to edit any settings. This program will take your normal password that you have entered and will encode it for you for it to be saved in the settings file. I highely recomend that you delete this file after use, and re downloade it if you need to edit any settings, or see section about settings file.


ALL PROGRAMES REQUIRE JAVA TO BE INSTALLED. IF YOU DONT HAVE JAJA PLEASE GO TO: www.java.com/getjava/




[Files and Instlation]---------

Clear.jar			Program
settings.jar			Program
shutdown.jar			Program
SystemClipboard.jar		Helper Code
Encoder.csv			Encoder Set
history.csv			Settings and History
logo.png			Picture
logo.ico			Icon (your use only)
README.txt			Help File

To install please copy all of the files listed above to any location on your computer. They MUST be in the same folder for the program's to work. logo.ico and README.txt are not needed in the running of the program, and can be deleted. 

To run any program double click on the corsponding .jar file. SystemClipboard.jar will NOT run, this is used by the other programes and must be keept.

To make starting the programs easier, i recomend creating shortcuts (right click - send to - desktop(create shortcut) ) and then you can use the logo.ico to set the icon to the shortcut (for win 7, right click - propties - change icon - browse - find and select 'logo.ico' - ok - ok). 


To unistall, simpily just remove all of the files above and delete any shortcuts that you have made.



[Settings File]---------

This is a simple little file that saves some varibles that the program will use, including an encripted version of the passwords. I recomend useing settings.jar to edit this file, if you have deleted it after use and dont want to get it again, then bellow i will explain what each entery is.

0,0,3,20,1,5,0,5PU5,Jxx,171,244,186


In order from left to right they are:

suscfull_uses			- Number of suscfull attempts to date, shown on program end.
failed_uses			- Number of failed attempts to date, shown on program end.
number_of_tries			- Number of password attempts before computer will shutdown.
time_seconds			- The time used on the build in countdowner.
time_between_cliboard_wipe	- The time intervals between every System Clipboard wipe.
level_of_encription		- The level of encription that the passwords will be stored in.
time_mode			- The way the built in countdowner will work. 0 = time per try. 1 = total time given.
deactivation_password		- The encripted password to deactivate the program and advoide a shutdown.
add_time_password		- The encripted password to add more time to the countdowner.
red_componet			- The RED componet of the RGB colour background used.
green_componet			- The GREEN componet of the RGB colour background used.
blue_componet			- The BLUE componet of the RGB colour background used.

The password can contain any character you want, apart from a ',' as this will confuse the code too much. All numbers should be a whle number and postive, if not then the shutdown.jar file might instantly shutdown your computer. If you use settings.jar then it will ensure that all variables you entered are valid.



[Encoder File]---------

This is a file that is used by the built in encoder, it is by defult a set of 62 characters in 2 rows. The top row is the original letter (letter to be replaced) and the bottom row is the new letter (letter replacing it). This will match the letters from their colums. Without this file, shutdown.jar and settings.jar will not work. 

Feel free to edit this file as much as you want, just do NOT repeat any characters. This is not fixed to 62 enterys long, feel free to add any more characters that you wish to encode, including punctiation. Devide every character with a ',' and do not try to encode a ',' for this reason.

If the character is not in the encoder file then the program will still run, it will leave the character as its original character. 



[Change Log]---------

{v1.0}

	- Program realise.

{v1.1}

	- Added converting Miniutes and Hours to Seconds.
	- Added handling for decimal numbers in settings.jar.
	- Added checking for incorrect values in all type boxes in settings.jar.
	- Added a new time mode (total time till shutdown).
	- Added a way to change the background color to custmise the program.
	- Added a button to settings.jar that will create a pre made Encoder.csv for you.
	- Edited how the encoder works, so it can now handle any punctiation (not fixed length Encoder.csv).

{v1.2}

	- Fixed bug with timmer on shutdown.jar.
	- Fixed bug unencoding a password containing the first letter on the Encoder.csv.
	- Added defult button to settings.jar and shutdown.jar (enter button now performs a defult action).
	- Added auto focus to main text boxes in settings.jar and shutdown.jar (selected on startup).
	- Reduced file sizes of settings.jar and shutdown.jar.